<template>
	<view>
		{{JSON.stringify(detail)}}
	</view>
</template>

<script>
	import {
		getOrderDetail
	} from '@/api/store.js'
	export default {
		data() {
			return {
				sn: '',
				detail: {}
			}
		},
		onLoad(option) {
			this.sn = option.sn
			this.loadData()
		},
		methods: {
			loadData() {
				getOrderDetail({
					order_id: this.sn
				}).then(res => {
					this.detail = res.data.data
				})
			},
		}
	}
</script>

<style>

</style>